public abstract class Person {
   //abstract 定义抽象父类,父类成员为public
    public String name;
    public String id;
    public String gender;
    public String birthday;
    public static String nationality;

    //空构造函数
    public Person(){};
    public Person(String id, String name, String gender, String birthday, String nationality)
    {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.birthday = birthday;
        Person.nationality = nationality;
    }
    public void Saying(Person per, String msg)
    {
        System.out.println(this.name + "对" + per.name + "说" + msg);
    }

    @Override
    public String toString()
    {
        return "Person {" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday='" + birthday + '\'' +
                ", nationality='" + nationality + '\'' +
                '}';
    }
    public abstract void Working(String information);
}
